package com.dongdong.api;

import com.dongdong.em.Result;
import com.dongdong.vo.CartVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;

@FeignClient("dongdong-cart-service")
public interface CartAPI {

    @GetMapping("cart/getCart")
    public Result<List<CartVO>> GetCart(@RequestHeader String Autherizetion);
}
